<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试</title>
    <script src="./require.min.js" ></script>
</head>
<body>
    <script>
        console.log('-----------------')
        require(['./node_modules/package-demo',], function (module){
            console.log(module)
　　    });
    </script>
</body>
</html>